[INFO] fetching crate hyperscan-sys 0.3.2...
[INFO] fixing hyperscan-sys-0.3.2 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate hyperscan-sys 0.3.2 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate hyperscan-sys 0.3.2
[INFO] finished tweaking crates.io crate hyperscan-sys 0.3.2
[INFO] tweaked toml for crates.io crate hyperscan-sys 0.3.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate hyperscan-sys 0.3.2 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 48 packages to latest compatible versions
[INFO] [stderr]       Adding bindgen v0.63.0 (available: v0.72.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8e68a62c6a211ac8d2c70cd4c708635bf8172be6df874741870f10046a7face5
[INFO] running `Command { std: "docker" "start" "8e68a62c6a211ac8d2c70cd4c708635bf8172be6df874741870f10046a7face5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8e68a62c6a211ac8d2c70cd4c708635bf8172be6df874741870f10046a7face5" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e68a62c6a211ac8d2c70cd4c708635bf8172be6df874741870f10046a7face5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8e68a62c6a211ac8d2c70cd4c708635bf8172be6df874741870f10046a7face5" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling cargo-emit v0.2.1
[INFO] [stderr]    Compiling hyperscan-sys v0.3.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.82s
[INFO] [stderr] crater-edition-check: hyperscan-sys v0.3.2 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling hyperscan-sys v0.3.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.43s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]     Checking hyperscan-sys v0.3.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs (40 fixes)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.05s
[INFO] [stderr] crater-edition-check: hyperscan-sys v0.3.2 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling hyperscan-sys v0.3.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:67:1
[INFO] [stdout]    |
[INFO] [stdout] 67 | / extern "C" {
[INFO] [stdout] 68 | |     #[doc = " Free a compiled pattern database.\n\n The free callback set by @ref hs_set_database_allocator() (or @ref\n hs_set_al...
[INFO] [stdout] 69 | |     pub fn hs_free_database(db: *mut hs_database_t) -> hs_error_t;
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:71:1
[INFO] [stdout]    |
[INFO] [stdout] 71 | / extern "C" {
[INFO] [stdout] 72 | |     #[doc = " Serialize a pattern database to a stream of bytes.\n\n The allocator callback set by @ref hs_set_misc_allocator() (o...
[INFO] [stdout] 73 | |     pub fn hs_serialize_database(
[INFO] [stdout] 74 | |         db: *const hs_database_t,
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | |     ) -> hs_error_t;
[INFO] [stdout] 78 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:79:1
[INFO] [stdout]    |
[INFO] [stdout] 79 | / extern "C" {
[INFO] [stdout] 80 | |     #[doc = " Reconstruct a pattern database from a stream of bytes previously generated\n by @ref hs_serialize_database().\n\n Th...
[INFO] [stdout] 81 | |     pub fn hs_deserialize_database(
[INFO] [stdout] 82 | |         bytes: *const ::libc::c_char,
[INFO] [stdout] ...  |
[INFO] [stdout] 85 | |     ) -> hs_error_t;
[INFO] [stdout] 86 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:87:1
[INFO] [stdout]    |
[INFO] [stdout] 87 | / extern "C" {
[INFO] [stdout] 88 | |     #[doc = " Reconstruct a pattern database from a stream of bytes previously generated\n by @ref hs_serialize_database() at a gi...
[INFO] [stdout] 89 | |     pub fn hs_deserialize_database_at(
[INFO] [stdout] 90 | |         bytes: *const ::libc::c_char,
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | |     ) -> hs_error_t;
[INFO] [stdout] 94 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:95:1
[INFO] [stdout]    |
[INFO] [stdout] 95 | / extern "C" {
[INFO] [stdout] 96 | |     #[doc = " Provides the size of the stream state allocated by a single stream opened\n against the given database.\n\n @param d...
[INFO] [stdout] 97 | |     pub fn hs_stream_size(database: *const hs_database_t, stream_size: *mut usize) -> hs_error_t;
[INFO] [stdout] 98 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:99:1
[INFO] [stdout]     |
[INFO] [stdout]  99 | / extern "C" {
[INFO] [stdout] 100 | |     #[doc = " Provides the size of the given database in bytes.\n\n @param database\n      Pointer to compiled pattern database.\...
[INFO] [stdout] 101 | |     pub fn hs_database_size(database: *const hs_database_t, database_size: *mut usize) -> hs_error_t;
[INFO] [stdout] 102 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | / extern "C" {
[INFO] [stdout] 104 | |     #[doc = " Utility function for reporting the size that would be required by a\n database if it were deserialized.\n\n This ca...
[INFO] [stdout] 105 | |     pub fn hs_serialized_database_size(
[INFO] [stdout] 106 | |         bytes: *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 109 | |     ) -> hs_error_t;
[INFO] [stdout] 110 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:111:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | / extern "C" {
[INFO] [stdout] 112 | |     #[doc = " Utility function providing information about a database.\n\n @param database\n      Pointer to a compiled database....
[INFO] [stdout] 113 | |     pub fn hs_database_info(database: *const hs_database_t, info: *mut *mut ::libc::c_char) -> hs_error_t;
[INFO] [stdout] 114 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:115:1
[INFO] [stdout]     |
[INFO] [stdout] 115 | / extern "C" {
[INFO] [stdout] 116 | |     #[doc = " Utility function providing information about a serialized database.\n\n @param bytes\n      Pointer to a serialized...
[INFO] [stdout] 117 | |     pub fn hs_serialized_database_info(
[INFO] [stdout] 118 | |         bytes: *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 121 | |     ) -> hs_error_t;
[INFO] [stdout] 122 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:127:1
[INFO] [stdout]     |
[INFO] [stdout] 127 | / extern "C" {
[INFO] [stdout] 128 | |     #[doc = " Set the allocate and free functions used by Hyperscan for allocating\n memory at runtime for stream state, scratch ...
[INFO] [stdout] 129 | |     pub fn hs_set_allocator(alloc_func: hs_alloc_t, free_func: hs_free_t) -> hs_error_t;
[INFO] [stdout] 130 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 | / extern "C" {
[INFO] [stdout] 132 | |     #[doc = " Set the allocate and free functions used by Hyperscan for allocating memory\n for database bytecode produced by the...
[INFO] [stdout] 133 | |     pub fn hs_set_database_allocator(alloc_func: hs_alloc_t, free_func: hs_free_t) -> hs_error_t;
[INFO] [stdout] 134 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:135:1
[INFO] [stdout]     |
[INFO] [stdout] 135 | / extern "C" {
[INFO] [stdout] 136 | |     #[doc = " Set the allocate and free functions used by Hyperscan for allocating memory\n for items returned by the Hyperscan A...
[INFO] [stdout] 137 | |     pub fn hs_set_misc_allocator(alloc_func: hs_alloc_t, free_func: hs_free_t) -> hs_error_t;
[INFO] [stdout] 138 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:139:1
[INFO] [stdout]     |
[INFO] [stdout] 139 | / extern "C" {
[INFO] [stdout] 140 | |     #[doc = " Set the allocate and free functions used by Hyperscan for allocating memory\n for scratch space by @ref hs_alloc_sc...
[INFO] [stdout] 141 | |     pub fn hs_set_scratch_allocator(alloc_func: hs_alloc_t, free_func: hs_free_t) -> hs_error_t;
[INFO] [stdout] 142 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:143:1
[INFO] [stdout]     |
[INFO] [stdout] 143 | / extern "C" {
[INFO] [stdout] 144 | |     #[doc = " Set the allocate and free functions used by Hyperscan for allocating memory\n for stream state by @ref hs_open_stre...
[INFO] [stdout] 145 | |     pub fn hs_set_stream_allocator(alloc_func: hs_alloc_t, free_func: hs_free_t) -> hs_error_t;
[INFO] [stdout] 146 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:147:1
[INFO] [stdout]     |
[INFO] [stdout] 147 | / extern "C" {
[INFO] [stdout] 148 | |     #[doc = " Utility function for identifying this release version.\n\n @return\n      A string containing the version number of...
[INFO] [stdout] 149 | |     pub fn hs_version() -> *const ::libc::c_char;
[INFO] [stdout] 150 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:151:1
[INFO] [stdout]     |
[INFO] [stdout] 151 | / extern "C" {
[INFO] [stdout] 152 | |     #[doc = " Utility function to test the current system architecture.\n\n Hyperscan requires the Supplemental Streaming SIMD Ex...
[INFO] [stdout] 153 | |     pub fn hs_valid_platform() -> hs_error_t;
[INFO] [stdout] 154 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:451:1
[INFO] [stdout]     |
[INFO] [stdout] 451 | / extern "C" {
[INFO] [stdout] 452 | |     #[doc = " The basic regular expression compiler.\n\n This is the function call with which an expression is compiled into a\n ...
[INFO] [stdout] 453 | |     pub fn hs_compile(
[INFO] [stdout] 454 | |         expression: *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 460 | |     ) -> hs_error_t;
[INFO] [stdout] 461 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:462:1
[INFO] [stdout]     |
[INFO] [stdout] 462 | / extern "C" {
[INFO] [stdout] 463 | |     #[doc = " The multiple regular expression compiler.\n\n This is the function call with which a set of expressions is compiled...
[INFO] [stdout] 464 | |     pub fn hs_compile_multi(
[INFO] [stdout] 465 | |         expressions: *const *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 473 | |     ) -> hs_error_t;
[INFO] [stdout] 474 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:475:1
[INFO] [stdout]     |
[INFO] [stdout] 475 | / extern "C" {
[INFO] [stdout] 476 | |     #[doc = " The multiple regular expression compiler with extended parameter support.\n\n This function call compiles a group o...
[INFO] [stdout] 477 | |     pub fn hs_compile_ext_multi(
[INFO] [stdout] 478 | |         expressions: *const *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 487 | |     ) -> hs_error_t;
[INFO] [stdout] 488 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:489:1
[INFO] [stdout]     |
[INFO] [stdout] 489 | / extern "C" {
[INFO] [stdout] 490 | |     #[doc = " The basic pure literal expression compiler.\n\n This is the function call with which a pure literal expression (not...
[INFO] [stdout] 491 | |     pub fn hs_compile_lit(
[INFO] [stdout] 492 | |         expression: *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 499 | |     ) -> hs_error_t;
[INFO] [stdout] 500 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:501:1
[INFO] [stdout]     |
[INFO] [stdout] 501 | / extern "C" {
[INFO] [stdout] 502 | |     #[doc = " The multiple pure literal expression compiler.\n\n This is the function call with which a set of pure literal expre...
[INFO] [stdout] 503 | |     pub fn hs_compile_lit_multi(
[INFO] [stdout] 504 | |         expressions: *const *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 513 | |     ) -> hs_error_t;
[INFO] [stdout] 514 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:515:1
[INFO] [stdout]     |
[INFO] [stdout] 515 | / extern "C" {
[INFO] [stdout] 516 | |     #[doc = " Free an error structure generated by @ref hs_compile(), @ref\n hs_compile_multi() or @ref hs_compile_ext_multi().\n...
[INFO] [stdout] 517 | |     pub fn hs_free_compile_error(error: *mut hs_compile_error_t) -> hs_error_t;
[INFO] [stdout] 518 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:519:1
[INFO] [stdout]     |
[INFO] [stdout] 519 | / extern "C" {
[INFO] [stdout] 520 | |     #[doc = " Utility function providing information about a regular expression. The\n information provided in @ref hs_expr_info_...
[INFO] [stdout] 521 | |     pub fn hs_expression_info(
[INFO] [stdout] 522 | |         expression: *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 526 | |     ) -> hs_error_t;
[INFO] [stdout] 527 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:528:1
[INFO] [stdout]     |
[INFO] [stdout] 528 | / extern "C" {
[INFO] [stdout] 529 | |     #[doc = " Utility function providing information about a regular expression, with\n extended parameter support. The informati...
[INFO] [stdout] 530 | |     pub fn hs_expression_ext_info(
[INFO] [stdout] 531 | |         expression: *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 536 | |     ) -> hs_error_t;
[INFO] [stdout] 537 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:538:1
[INFO] [stdout]     |
[INFO] [stdout] 538 | / extern "C" {
[INFO] [stdout] 539 | |     #[doc = " Populates the platform information based on the current host.\n\n @param platform\n      On success, the pointed to...
[INFO] [stdout] 540 | |     pub fn hs_populate_platform(platform: *mut hs_platform_info_t) -> hs_error_t;
[INFO] [stdout] 541 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hyperscan-sys` (lib) due to 40 previous errors
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:567:1
[INFO] [stdout]     |
[INFO] [stdout] 567 | / extern "C" {
[INFO] [stdout] 568 | |     #[doc = " Open and initialise a stream.\n\n @param db\n      A compiled pattern database.\n\n @param flags\n      Flags modif...
[INFO] [stdout] 569 | |     pub fn hs_open_stream(db: *const hs_database_t, flags: ::libc::c_uint, stream: *mut *mut hs_stream_t)
[INFO] [stdout] 570 | |         -> hs_error_t;
[INFO] [stdout] 571 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:572:1
[INFO] [stdout]     |
[INFO] [stdout] 572 | / extern "C" {
[INFO] [stdout] 573 | |     #[doc = " Write data to be scanned to the opened stream.\n\n This is the function call in which the actual pattern matching t...
[INFO] [stdout] 574 | |     pub fn hs_scan_stream(
[INFO] [stdout] 575 | |         id: *mut hs_stream_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 582 | |     ) -> hs_error_t;
[INFO] [stdout] 583 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:584:1
[INFO] [stdout]     |
[INFO] [stdout] 584 | / extern "C" {
[INFO] [stdout] 585 | |     #[doc = " Close a stream.\n\n This function completes matching on the given stream and frees the memory\n associated with the...
[INFO] [stdout] 586 | |     pub fn hs_close_stream(
[INFO] [stdout] 587 | |         id: *mut hs_stream_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 591 | |     ) -> hs_error_t;
[INFO] [stdout] 592 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:593:1
[INFO] [stdout]     |
[INFO] [stdout] 593 | / extern "C" {
[INFO] [stdout] 594 | |     #[doc = " Reset a stream to an initial state.\n\n Conceptually, this is equivalent to performing @ref hs_close_stream() on th...
[INFO] [stdout] 595 | |     pub fn hs_reset_stream(
[INFO] [stdout] 596 | |         id: *mut hs_stream_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 601 | |     ) -> hs_error_t;
[INFO] [stdout] 602 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:603:1
[INFO] [stdout]     |
[INFO] [stdout] 603 | / extern "C" {
[INFO] [stdout] 604 | |     #[doc = " Duplicate the given stream. The new stream will have the same state as the\n original including the current stream ...
[INFO] [stdout] 605 | |     pub fn hs_copy_stream(to_id: *mut *mut hs_stream_t, from_id: *const hs_stream_t) -> hs_error_t;
[INFO] [stdout] 606 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:607:1
[INFO] [stdout]     |
[INFO] [stdout] 607 | / extern "C" {
[INFO] [stdout] 608 | |     #[doc = " Duplicate the given 'from' stream state onto the 'to' stream. The 'to' stream\n will first be reset (reporting any ...
[INFO] [stdout] 609 | |     pub fn hs_reset_and_copy_stream(
[INFO] [stdout] 610 | |         to_id: *mut hs_stream_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 615 | |     ) -> hs_error_t;
[INFO] [stdout] 616 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:617:1
[INFO] [stdout]     |
[INFO] [stdout] 617 | / extern "C" {
[INFO] [stdout] 618 | |     #[doc = " Creates a compressed representation of the provided stream in the buffer\n provided. This compressed representation...
[INFO] [stdout] 619 | |     pub fn hs_compress_stream(
[INFO] [stdout] 620 | |         stream: *const hs_stream_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 624 | |     ) -> hs_error_t;
[INFO] [stdout] 625 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:626:1
[INFO] [stdout]     |
[INFO] [stdout] 626 | / extern "C" {
[INFO] [stdout] 627 | |     #[doc = " Decompresses a compressed representation created by @ref hs_compress_stream()\n into a new stream.\n\n Note: @p buf...
[INFO] [stdout] 628 | |     pub fn hs_expand_stream(
[INFO] [stdout] 629 | |         db: *const hs_database_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 633 | |     ) -> hs_error_t;
[INFO] [stdout] 634 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:635:1
[INFO] [stdout]     |
[INFO] [stdout] 635 | / extern "C" {
[INFO] [stdout] 636 | |     #[doc = " Decompresses a compressed representation created by @ref hs_compress_stream()\n on top of the 'to' stream. The 'to'...
[INFO] [stdout] 637 | |     pub fn hs_reset_and_expand_stream(
[INFO] [stdout] 638 | |         to_stream: *mut hs_stream_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 644 | |     ) -> hs_error_t;
[INFO] [stdout] 645 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:646:1
[INFO] [stdout]     |
[INFO] [stdout] 646 | / extern "C" {
[INFO] [stdout] 647 | |     #[doc = " The block (non-streaming) regular expression scanner.\n\n This is the function call in which the actual pattern mat...
[INFO] [stdout] 648 | |     pub fn hs_scan(
[INFO] [stdout] 649 | |         db: *const hs_database_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 656 | |     ) -> hs_error_t;
[INFO] [stdout] 657 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:658:1
[INFO] [stdout]     |
[INFO] [stdout] 658 | / extern "C" {
[INFO] [stdout] 659 | |     #[doc = " The vectored regular expression scanner.\n\n This is the function call in which the actual pattern matching takes p...
[INFO] [stdout] 660 | |     pub fn hs_scan_vector(
[INFO] [stdout] 661 | |         db: *const hs_database_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 669 | |     ) -> hs_error_t;
[INFO] [stdout] 670 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:671:1
[INFO] [stdout]     |
[INFO] [stdout] 671 | / extern "C" {
[INFO] [stdout] 672 | |     #[doc = " Allocate a \"scratch\" space for use by Hyperscan.\n\n This is required for runtime use, and one scratch space per ...
[INFO] [stdout] 673 | |     pub fn hs_alloc_scratch(db: *const hs_database_t, scratch: *mut *mut hs_scratch_t) -> hs_error_t;
[INFO] [stdout] 674 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:675:1
[INFO] [stdout]     |
[INFO] [stdout] 675 | / extern "C" {
[INFO] [stdout] 676 | |     #[doc = " Allocate a scratch space that is a clone of an existing scratch space.\n\n This is useful when multiple concurrent ...
[INFO] [stdout] 677 | |     pub fn hs_clone_scratch(src: *const hs_scratch_t, dest: *mut *mut hs_scratch_t) -> hs_error_t;
[INFO] [stdout] 678 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:679:1
[INFO] [stdout]     |
[INFO] [stdout] 679 | / extern "C" {
[INFO] [stdout] 680 | |     #[doc = " Provides the size of the given scratch space.\n\n @param scratch\n      A per-thread scratch space allocated by @re...
[INFO] [stdout] 681 | |     pub fn hs_scratch_size(scratch: *const hs_scratch_t, scratch_size: *mut usize) -> hs_error_t;
[INFO] [stdout] 682 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:683:1
[INFO] [stdout]     |
[INFO] [stdout] 683 | / extern "C" {
[INFO] [stdout] 684 | |     #[doc = " Free a scratch block previously allocated by @ref hs_alloc_scratch() or @ref\n hs_clone_scratch().\n\n The free cal...
[INFO] [stdout] 685 | |     pub fn hs_free_scratch(scratch: *mut hs_scratch_t) -> hs_error_t;
[INFO] [stdout] 686 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:67:1
[INFO] [stdout]    |
[INFO] [stdout] 67 | / extern "C" {
[INFO] [stdout] 68 | |     #[doc = " Free a compiled pattern database.\n\n The free callback set by @ref hs_set_database_allocator() (or @ref\n hs_set_al...
[INFO] [stdout] 69 | |     pub fn hs_free_database(db: *mut hs_database_t) -> hs_error_t;
[INFO] [stdout] 70 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:71:1
[INFO] [stdout]    |
[INFO] [stdout] 71 | / extern "C" {
[INFO] [stdout] 72 | |     #[doc = " Serialize a pattern database to a stream of bytes.\n\n The allocator callback set by @ref hs_set_misc_allocator() (o...
[INFO] [stdout] 73 | |     pub fn hs_serialize_database(
[INFO] [stdout] 74 | |         db: *const hs_database_t,
[INFO] [stdout] ...  |
[INFO] [stdout] 77 | |     ) -> hs_error_t;
[INFO] [stdout] 78 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:79:1
[INFO] [stdout]    |
[INFO] [stdout] 79 | / extern "C" {
[INFO] [stdout] 80 | |     #[doc = " Reconstruct a pattern database from a stream of bytes previously generated\n by @ref hs_serialize_database().\n\n Th...
[INFO] [stdout] 81 | |     pub fn hs_deserialize_database(
[INFO] [stdout] 82 | |         bytes: *const ::libc::c_char,
[INFO] [stdout] ...  |
[INFO] [stdout] 85 | |     ) -> hs_error_t;
[INFO] [stdout] 86 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:87:1
[INFO] [stdout]    |
[INFO] [stdout] 87 | / extern "C" {
[INFO] [stdout] 88 | |     #[doc = " Reconstruct a pattern database from a stream of bytes previously generated\n by @ref hs_serialize_database() at a gi...
[INFO] [stdout] 89 | |     pub fn hs_deserialize_database_at(
[INFO] [stdout] 90 | |         bytes: *const ::libc::c_char,
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | |     ) -> hs_error_t;
[INFO] [stdout] 94 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:95:1
[INFO] [stdout]    |
[INFO] [stdout] 95 | / extern "C" {
[INFO] [stdout] 96 | |     #[doc = " Provides the size of the stream state allocated by a single stream opened\n against the given database.\n\n @param d...
[INFO] [stdout] 97 | |     pub fn hs_stream_size(database: *const hs_database_t, stream_size: *mut usize) -> hs_error_t;
[INFO] [stdout] 98 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:99:1
[INFO] [stdout]     |
[INFO] [stdout]  99 | / extern "C" {
[INFO] [stdout] 100 | |     #[doc = " Provides the size of the given database in bytes.\n\n @param database\n      Pointer to compiled pattern database.\...
[INFO] [stdout] 101 | |     pub fn hs_database_size(database: *const hs_database_t, database_size: *mut usize) -> hs_error_t;
[INFO] [stdout] 102 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | / extern "C" {
[INFO] [stdout] 104 | |     #[doc = " Utility function for reporting the size that would be required by a\n database if it were deserialized.\n\n This ca...
[INFO] [stdout] 105 | |     pub fn hs_serialized_database_size(
[INFO] [stdout] 106 | |         bytes: *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 109 | |     ) -> hs_error_t;
[INFO] [stdout] 110 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:111:1
[INFO] [stdout]     |
[INFO] [stdout] 111 | / extern "C" {
[INFO] [stdout] 112 | |     #[doc = " Utility function providing information about a database.\n\n @param database\n      Pointer to a compiled database....
[INFO] [stdout] 113 | |     pub fn hs_database_info(database: *const hs_database_t, info: *mut *mut ::libc::c_char) -> hs_error_t;
[INFO] [stdout] 114 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:115:1
[INFO] [stdout]     |
[INFO] [stdout] 115 | / extern "C" {
[INFO] [stdout] 116 | |     #[doc = " Utility function providing information about a serialized database.\n\n @param bytes\n      Pointer to a serialized...
[INFO] [stdout] 117 | |     pub fn hs_serialized_database_info(
[INFO] [stdout] 118 | |         bytes: *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 121 | |     ) -> hs_error_t;
[INFO] [stdout] 122 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:127:1
[INFO] [stdout]     |
[INFO] [stdout] 127 | / extern "C" {
[INFO] [stdout] 128 | |     #[doc = " Set the allocate and free functions used by Hyperscan for allocating\n memory at runtime for stream state, scratch ...
[INFO] [stdout] 129 | |     pub fn hs_set_allocator(alloc_func: hs_alloc_t, free_func: hs_free_t) -> hs_error_t;
[INFO] [stdout] 130 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 | / extern "C" {
[INFO] [stdout] 132 | |     #[doc = " Set the allocate and free functions used by Hyperscan for allocating memory\n for database bytecode produced by the...
[INFO] [stdout] 133 | |     pub fn hs_set_database_allocator(alloc_func: hs_alloc_t, free_func: hs_free_t) -> hs_error_t;
[INFO] [stdout] 134 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:135:1
[INFO] [stdout]     |
[INFO] [stdout] 135 | / extern "C" {
[INFO] [stdout] 136 | |     #[doc = " Set the allocate and free functions used by Hyperscan for allocating memory\n for items returned by the Hyperscan A...
[INFO] [stdout] 137 | |     pub fn hs_set_misc_allocator(alloc_func: hs_alloc_t, free_func: hs_free_t) -> hs_error_t;
[INFO] [stdout] 138 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:139:1
[INFO] [stdout]     |
[INFO] [stdout] 139 | / extern "C" {
[INFO] [stdout] 140 | |     #[doc = " Set the allocate and free functions used by Hyperscan for allocating memory\n for scratch space by @ref hs_alloc_sc...
[INFO] [stdout] 141 | |     pub fn hs_set_scratch_allocator(alloc_func: hs_alloc_t, free_func: hs_free_t) -> hs_error_t;
[INFO] [stdout] 142 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:143:1
[INFO] [stdout]     |
[INFO] [stdout] 143 | / extern "C" {
[INFO] [stdout] 144 | |     #[doc = " Set the allocate and free functions used by Hyperscan for allocating memory\n for stream state by @ref hs_open_stre...
[INFO] [stdout] 145 | |     pub fn hs_set_stream_allocator(alloc_func: hs_alloc_t, free_func: hs_free_t) -> hs_error_t;
[INFO] [stdout] 146 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:147:1
[INFO] [stdout]     |
[INFO] [stdout] 147 | / extern "C" {
[INFO] [stdout] 148 | |     #[doc = " Utility function for identifying this release version.\n\n @return\n      A string containing the version number of...
[INFO] [stdout] 149 | |     pub fn hs_version() -> *const ::libc::c_char;
[INFO] [stdout] 150 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:151:1
[INFO] [stdout]     |
[INFO] [stdout] 151 | / extern "C" {
[INFO] [stdout] 152 | |     #[doc = " Utility function to test the current system architecture.\n\n Hyperscan requires the Supplemental Streaming SIMD Ex...
[INFO] [stdout] 153 | |     pub fn hs_valid_platform() -> hs_error_t;
[INFO] [stdout] 154 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:451:1
[INFO] [stdout]     |
[INFO] [stdout] 451 | / extern "C" {
[INFO] [stdout] 452 | |     #[doc = " The basic regular expression compiler.\n\n This is the function call with which an expression is compiled into a\n ...
[INFO] [stdout] 453 | |     pub fn hs_compile(
[INFO] [stdout] 454 | |         expression: *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 460 | |     ) -> hs_error_t;
[INFO] [stdout] 461 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:462:1
[INFO] [stdout]     |
[INFO] [stdout] 462 | / extern "C" {
[INFO] [stdout] 463 | |     #[doc = " The multiple regular expression compiler.\n\n This is the function call with which a set of expressions is compiled...
[INFO] [stdout] 464 | |     pub fn hs_compile_multi(
[INFO] [stdout] 465 | |         expressions: *const *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 473 | |     ) -> hs_error_t;
[INFO] [stdout] 474 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:475:1
[INFO] [stdout]     |
[INFO] [stdout] 475 | / extern "C" {
[INFO] [stdout] 476 | |     #[doc = " The multiple regular expression compiler with extended parameter support.\n\n This function call compiles a group o...
[INFO] [stdout] 477 | |     pub fn hs_compile_ext_multi(
[INFO] [stdout] 478 | |         expressions: *const *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 487 | |     ) -> hs_error_t;
[INFO] [stdout] 488 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:489:1
[INFO] [stdout]     |
[INFO] [stdout] 489 | / extern "C" {
[INFO] [stdout] 490 | |     #[doc = " The basic pure literal expression compiler.\n\n This is the function call with which a pure literal expression (not...
[INFO] [stdout] 491 | |     pub fn hs_compile_lit(
[INFO] [stdout] 492 | |         expression: *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 499 | |     ) -> hs_error_t;
[INFO] [stdout] 500 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:501:1
[INFO] [stdout]     |
[INFO] [stdout] 501 | / extern "C" {
[INFO] [stdout] 502 | |     #[doc = " The multiple pure literal expression compiler.\n\n This is the function call with which a set of pure literal expre...
[INFO] [stdout] 503 | |     pub fn hs_compile_lit_multi(
[INFO] [stdout] 504 | |         expressions: *const *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 513 | |     ) -> hs_error_t;
[INFO] [stdout] 514 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:515:1
[INFO] [stdout]     |
[INFO] [stdout] 515 | / extern "C" {
[INFO] [stdout] 516 | |     #[doc = " Free an error structure generated by @ref hs_compile(), @ref\n hs_compile_multi() or @ref hs_compile_ext_multi().\n...
[INFO] [stdout] 517 | |     pub fn hs_free_compile_error(error: *mut hs_compile_error_t) -> hs_error_t;
[INFO] [stdout] 518 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:519:1
[INFO] [stdout]     |
[INFO] [stdout] 519 | / extern "C" {
[INFO] [stdout] 520 | |     #[doc = " Utility function providing information about a regular expression. The\n information provided in @ref hs_expr_info_...
[INFO] [stdout] 521 | |     pub fn hs_expression_info(
[INFO] [stdout] 522 | |         expression: *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 526 | |     ) -> hs_error_t;
[INFO] [stdout] 527 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:528:1
[INFO] [stdout]     |
[INFO] [stdout] 528 | / extern "C" {
[INFO] [stdout] 529 | |     #[doc = " Utility function providing information about a regular expression, with\n extended parameter support. The informati...
[INFO] [stdout] 530 | |     pub fn hs_expression_ext_info(
[INFO] [stdout] 531 | |         expression: *const ::libc::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 536 | |     ) -> hs_error_t;
[INFO] [stdout] 537 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:538:1
[INFO] [stdout]     |
[INFO] [stdout] 538 | / extern "C" {
[INFO] [stdout] 539 | |     #[doc = " Populates the platform information based on the current host.\n\n @param platform\n      On success, the pointed to...
[INFO] [stdout] 540 | |     pub fn hs_populate_platform(platform: *mut hs_platform_info_t) -> hs_error_t;
[INFO] [stdout] 541 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:567:1
[INFO] [stdout]     |
[INFO] [stdout] 567 | / extern "C" {
[INFO] [stdout] 568 | |     #[doc = " Open and initialise a stream.\n\n @param db\n      A compiled pattern database.\n\n @param flags\n      Flags modif...
[INFO] [stdout] 569 | |     pub fn hs_open_stream(db: *const hs_database_t, flags: ::libc::c_uint, stream: *mut *mut hs_stream_t)
[INFO] [stdout] 570 | |         -> hs_error_t;
[INFO] [stdout] 571 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:572:1
[INFO] [stdout]     |
[INFO] [stdout] 572 | / extern "C" {
[INFO] [stdout] 573 | |     #[doc = " Write data to be scanned to the opened stream.\n\n This is the function call in which the actual pattern matching t...
[INFO] [stdout] 574 | |     pub fn hs_scan_stream(
[INFO] [stdout] 575 | |         id: *mut hs_stream_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 582 | |     ) -> hs_error_t;
[INFO] [stdout] 583 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:584:1
[INFO] [stdout]     |
[INFO] [stdout] 584 | / extern "C" {
[INFO] [stdout] 585 | |     #[doc = " Close a stream.\n\n This function completes matching on the given stream and frees the memory\n associated with the...
[INFO] [stdout] 586 | |     pub fn hs_close_stream(
[INFO] [stdout] 587 | |         id: *mut hs_stream_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 591 | |     ) -> hs_error_t;
[INFO] [stdout] 592 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:593:1
[INFO] [stdout]     |
[INFO] [stdout] 593 | / extern "C" {
[INFO] [stdout] 594 | |     #[doc = " Reset a stream to an initial state.\n\n Conceptually, this is equivalent to performing @ref hs_close_stream() on th...
[INFO] [stdout] 595 | |     pub fn hs_reset_stream(
[INFO] [stdout] 596 | |         id: *mut hs_stream_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 601 | |     ) -> hs_error_t;
[INFO] [stdout] 602 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:603:1
[INFO] [stdout]     |
[INFO] [stdout] 603 | / extern "C" {
[INFO] [stdout] 604 | |     #[doc = " Duplicate the given stream. The new stream will have the same state as the\n original including the current stream ...
[INFO] [stdout] 605 | |     pub fn hs_copy_stream(to_id: *mut *mut hs_stream_t, from_id: *const hs_stream_t) -> hs_error_t;
[INFO] [stdout] 606 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:607:1
[INFO] [stdout]     |
[INFO] [stdout] 607 | / extern "C" {
[INFO] [stdout] 608 | |     #[doc = " Duplicate the given 'from' stream state onto the 'to' stream. The 'to' stream\n will first be reset (reporting any ...
[INFO] [stdout] 609 | |     pub fn hs_reset_and_copy_stream(
[INFO] [stdout] 610 | |         to_id: *mut hs_stream_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 615 | |     ) -> hs_error_t;
[INFO] [stdout] 616 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:617:1
[INFO] [stdout]     |
[INFO] [stdout] 617 | / extern "C" {
[INFO] [stdout] 618 | |     #[doc = " Creates a compressed representation of the provided stream in the buffer\n provided. This compressed representation...
[INFO] [stdout] 619 | |     pub fn hs_compress_stream(
[INFO] [stdout] 620 | |         stream: *const hs_stream_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 624 | |     ) -> hs_error_t;
[INFO] [stdout] 625 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:626:1
[INFO] [stdout]     |
[INFO] [stdout] 626 | / extern "C" {
[INFO] [stdout] 627 | |     #[doc = " Decompresses a compressed representation created by @ref hs_compress_stream()\n into a new stream.\n\n Note: @p buf...
[INFO] [stdout] 628 | |     pub fn hs_expand_stream(
[INFO] [stdout] 629 | |         db: *const hs_database_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 633 | |     ) -> hs_error_t;
[INFO] [stdout] 634 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:635:1
[INFO] [stdout]     |
[INFO] [stdout] 635 | / extern "C" {
[INFO] [stdout] 636 | |     #[doc = " Decompresses a compressed representation created by @ref hs_compress_stream()\n on top of the 'to' stream. The 'to'...
[INFO] [stdout] 637 | |     pub fn hs_reset_and_expand_stream(
[INFO] [stdout] 638 | |         to_stream: *mut hs_stream_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 644 | |     ) -> hs_error_t;
[INFO] [stdout] 645 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:646:1
[INFO] [stdout]     |
[INFO] [stdout] 646 | / extern "C" {
[INFO] [stdout] 647 | |     #[doc = " The block (non-streaming) regular expression scanner.\n\n This is the function call in which the actual pattern mat...
[INFO] [stdout] 648 | |     pub fn hs_scan(
[INFO] [stdout] 649 | |         db: *const hs_database_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 656 | |     ) -> hs_error_t;
[INFO] [stdout] 657 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:658:1
[INFO] [stdout]     |
[INFO] [stdout] 658 | / extern "C" {
[INFO] [stdout] 659 | |     #[doc = " The vectored regular expression scanner.\n\n This is the function call in which the actual pattern matching takes p...
[INFO] [stdout] 660 | |     pub fn hs_scan_vector(
[INFO] [stdout] 661 | |         db: *const hs_database_t,
[INFO] [stdout] ...   |
[INFO] [stdout] 669 | |     ) -> hs_error_t;
[INFO] [stdout] 670 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:671:1
[INFO] [stdout]     |
[INFO] [stdout] 671 | / extern "C" {
[INFO] [stdout] 672 | |     #[doc = " Allocate a \"scratch\" space for use by Hyperscan.\n\n This is required for runtime use, and one scratch space per ...
[INFO] [stdout] 673 | |     pub fn hs_alloc_scratch(db: *const hs_database_t, scratch: *mut *mut hs_scratch_t) -> hs_error_t;
[INFO] [stdout] 674 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:675:1
[INFO] [stdout]     |
[INFO] [stdout] 675 | / extern "C" {
[INFO] [stdout] 676 | |     #[doc = " Allocate a scratch space that is a clone of an existing scratch space.\n\n This is useful when multiple concurrent ...
[INFO] [stdout] 677 | |     pub fn hs_clone_scratch(src: *const hs_scratch_t, dest: *mut *mut hs_scratch_t) -> hs_error_t;
[INFO] [stdout] 678 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:679:1
[INFO] [stdout]     |
[INFO] [stdout] 679 | / extern "C" {
[INFO] [stdout] 680 | |     #[doc = " Provides the size of the given scratch space.\n\n @param scratch\n      A per-thread scratch space allocated by @re...
[INFO] [stdout] 681 | |     pub fn hs_scratch_size(scratch: *const hs_scratch_t, scratch_size: *mut usize) -> hs_error_t;
[INFO] [stdout] 682 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]    --> /opt/rustwide/target/debug/build/hyperscan-sys-b44ca15199d605da/out/hyperscan.rs:683:1
[INFO] [stdout]     |
[INFO] [stdout] 683 | / extern "C" {
[INFO] [stdout] 684 | |     #[doc = " Free a scratch block previously allocated by @ref hs_alloc_scratch() or @ref\n hs_clone_scratch().\n\n The free cal...
[INFO] [stdout] 685 | |     pub fn hs_free_scratch(scratch: *mut hs_scratch_t) -> hs_error_t;
[INFO] [stdout] 686 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hyperscan-sys` (lib test) due to 40 previous errors
[INFO] running `Command { std: "docker" "inspect" "8e68a62c6a211ac8d2c70cd4c708635bf8172be6df874741870f10046a7face5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e68a62c6a211ac8d2c70cd4c708635bf8172be6df874741870f10046a7face5", kill_on_drop: false }`
[INFO] [stdout] 8e68a62c6a211ac8d2c70cd4c708635bf8172be6df874741870f10046a7face5
